{// 引入标签库 }
<tagLib name="html" />
{// 加载头部公共文件 }
<include file="Public:header" />
<!-- 菜单区域  -->

<!-- 主页面开始 -->
<div id="main" class="main" >
<!-- 主体内容  -->
<div class="content" >
<div class="title"> 操作授权 [ <a href="__URL__">返 回</a> ] </div>
<!--  功能组区域  -->
<script language="JavaScript">
<!--
function saveAccess(){
ThinkAjax.sendForm('form1','__URL__/setAction/');
}
//-->
</script>
<div id="result" class="result none"></div>
<import  file="Js.Form.MultiSelect" />
<form method=post id="form1">
<table class="select" style="width:265px" align="center">
<tr><td height="5" colspan="3" class="topTd" ></td></tr>
<tr><th class="tCenter"><a href="__URL__/app/groupId/{$Think.get.groupId}">应用授权</a> | <a href="__URL__/module/groupId/{$Think.get.groupId}">模块授权</a> | 操作授权
</th></tr>
<tr><Td class="tRight">当前组：<html:select name="groupId" style="medium" change="location.href = '?groupId='+this.options[this.selectedIndex].value;" first="选择组" options="groupList" selected="selectGroupId" />
</Td></tr>
<tr><Td class="tRight">
当前应用：<html:select name="appId"  style="medium" change="location.href = '?appId='+this.options[this.selectedIndex].value;" first="选择应用" options="appList" selected="selectAppId" />
</Td></tr>
<tr><Td class="tRight">当前模块：<html:select name="moduleId"  style="medium" change="location.href = '?appId={$Think.get.appId}&moduleId='+this.options[this.selectedIndex].value;" first="选择模块" options="moduleList" selected="selectModuleId" />
</Td></tr><tr><td >
<html:select id="groupActionId" name="groupActionId[]" options="actionList" selected="groupActionList"  multiple="true" style="multiSelect" size="15" />
</td>
</tr>
<tr>
<td  class="row tCenter" >
<input type="button" onclick="allSelect()" value="全 选" class="submit  ">&nbsp;
<input type="button" onclick="InverSelect()" value="反 选" class="submit  ">&nbsp;
<input type="button" onclick="allUnSelect()" value="全 否" class="submit ">&nbsp;
<input type="button" onclick="saveAccess()" value="保 存" class="submit  ">&nbsp;
<input type="hidden" name="groupId" VALUE="{$Think.get.id}" >
<input type="hidden" name="module" value="Node">
<input type="hidden" name="ajax" VALUE="1">
</td>
</tr>
<tr>
<td height="5" class="bottomTd" >
</td>
</tr>
</table>
</form>

</div>
<!-- 主体内容结束 -->
</div>
<!-- 主页面结束 -->

